
#include  "ledctr.h"
#include "os_obj.h" 

uint16_t IdleTaskCntL=0;
uint32_t IdleTaskCntH=0;


/*****************************************************************************//*!
*
* @brief   Idle task hook init.
*
* @param   none
*
* @return  none
*
* @ Pass/ Fail criteria: none
*****************************************************************************/

void  os_idle_task_hook (void)
{
  
    IdleTaskCntL++;
    if(100 <= IdleTaskCntL)
    {
      IdleTaskCntH++;
      IdleTaskCntL = 0;
    }
    
    rt_sem_release(os_obj.sid_SwTest);
}
